<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="no-js iem7 oldie"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if (IE 9)&!(IEMobile)]><html class="no-js ie9" lang="en"><![endif]-->
<!--[if (gt IE 9)|(gt IEMobile 7)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<!--<html xmlns="http://www.w3.org/1999/xhtml">-->
<head>
<?php echo $this->Html->charset(); ?>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>
        <?php echo $title_for_layout; ?>
    </title>
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- http://davidbcalhoun.com/2010/viewport-metatag -->
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<?php
    echo $this->Html->meta('icon');

    /** For all browsers*/
    echo $this->Html->css('reset3860.css?v=1');
    echo $this->Html->css('style3860.css?v=1');
    echo $this->Html->css('colors3860.css?v=1');
    echo $this->Html->css('print3860.css?v=1', 'stylesheet', array('media' => 'print'));
    /** For progressively larger displays **/
    echo $this->Html->css('4803860.css?v=1', 'stylesheet', array('media' => 'only all and (min-width: 480px)'));
    echo $this->Html->css('7683860.css?v=1', 'stylesheet', array('media' => 'only all and (min-width: 768px)'));
    echo $this->Html->css('9923860.css?v=1', 'stylesheet', array('media' => 'only all and (min-width: 992px)'));
    echo $this->Html->css('12003860.css?v=1', 'stylesheet', array('media' => 'only all and (min-width: 1200px)'));

    /** For Retina displays **/
    echo $this->Html->css('2x3860.css?v=1', 'stylesheet', array('media' => 'only all and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5)'));

    /** Webfonts **/
    echo $this->Html->css('webfont');

    /** Additional styles **/
    echo $this->Html->css('styles/agenda3860.css?v=1');
    echo $this->Html->css('styles/dashboard3860.css?v=1');
    echo $this->Html->css('styles/form3860.css?v=1');
    echo $this->Html->css('styles/modal3860.css?v=1');
    echo $this->Html->css('styles/progress-slider3860.css?v=1');
    echo $this->Html->css('styles/switches3860.css?v=1');
    echo $this->Html->css('formValidator/developr.validationEngine3860.css?v=1');
    echo $this->Html->css('flexgrid/flexigrid');
    echo $this->Html->css('colorbox/colorbox');
    echo $this->Html->css('JSCal2-1.9/jscal2');
    echo $this->Html->css('JSCal2-1.9/border-radius');
    echo $this->Html->css('JSCal2-1.9/steel/steel');
    echo $this->Html->css('main');

    /** JavaScript at bottom except for Modernizr **/
    echo $this->Html->script('libs/modernizr.custom.js');

    echo $this->Html->script('date-format.min.js');
    echo $this->Html->script('jquery-1.7.2.min.js');
    echo $this->Html->script('jquery.animate-colors.js');
    echo $this->Html->script('jquery.colorbox-min.js');
    echo $this->Html->script('flexigrid.js');
    echo $this->Html->script('jquery_validation/jquery.validationEngine.js');
    echo $this->Html->script('jquery_validation/jquery.validationEngine-en.js');
    echo $this->Html->script('jquery.thfloat-0.3.min.js');
    echo $this->Html->script('JSCal2-1.9/jscal2.js');
    echo $this->Html->script('JSCal2-1.9/lang/en.js');
    echo $this->Html->script('jLib.js');

    echo $scripts_for_layout;
?>
</head>
<body class="clearfix with-menu with-shortcuts">
<?php echo $this->element('loader'); ?>
    <!-- Title bar -->
    <?php echo $this->element('banner'); ?>
    <!-- Button to open/hide menu -->
    <a href="javascript:void(0);" id="open-menu"><span>Menu</span></a>
    <!-- Button to open/hide shortcuts -->
    <a href="javascript:void(0);" id="open-shortcuts"><span class="icon-thumbs"></span></a>


    <?php //echo $this->element('page_header_default'); ?>

    <?php echo $content_for_layout; ?>

    <?php //echo $this->element('sql_dump'); ?>
    <?php echo $this->element('jlib'); ?>
</body>
</html>